package com.coolcode.vo;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@ToString
public class LoginReqVO {

    /**
     * 用户名
     */
    @NotBlank
    @Size(min = 3, max = 10)
    private String username;

    /**
     * 密码(已加密)
     */
    @NotBlank
    @Size(min = 3, max = 8)
    private String password;
}
